package com.ahyesyesteam.aicarfaultrepair.service;

import com.ahyesyesteam.aicarfaultrepair.pojo.Comment;
import com.ahyesyesteam.aicarfaultrepair.util.Response;
import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author SSQ
 * @since 2022-06-17
 */
public interface ICommentService extends IService<Comment> {
    Comment addComment(Comment comment);

    boolean deleteComment(Long commentId);

    Response likeComment(Long commentId);

    List<Comment> getCommentList(Long solutionId);

    boolean isLike(Long commentId);
}
